import {
	getRequest,
	postRequest
} from './request.js'

/* 基础数据模块 */
// export const login = (data, blon) => postRequest('/api/user/login', data, blon)
// 推荐位
export const positionList = data => postRequest("/api/position.content/lists", data, false);
// 推荐位详情
export const positionDetail = data => postRequest("/api/position.content/detail", data, false,false);
// 文章
export const articleList = data => postRequest("/api/article/lists", data, false,false);
export const articleDetail = data => postRequest("/api/article/detail", data, false,true);
export const articleChannelList = data => postRequest("/api/article.channel/lists", data, false,true);
// 分类
export const scenicCategory = data => postRequest("/api/platform.scenic.category/lists", data, false);
export const shopCategory = data => postRequest("/api/gourmet.shop.category/lists", data, false);
// 景点
export const scenicList = data => postRequest("/api/platform.scenic/lists", data, false,true);
export const scenicDetail = data => postRequest("/api/platform.scenic/detail", data, false,true);
// 酒店
export const hotelList = data => postRequest("/api/hotel/lists", data, false,true);
export const hotelDetail = data => postRequest("/api/hotel/detail", data, false,true);
// 场馆
export const culturalList = data => postRequest("/api/platform.cultural_center/lists", data, false,true);
export const culturalDetail = data => postRequest("/api/platform.cultural_center/detail", data, false,true);
// 美食
export const gourmetList = data => postRequest("/api/gourmet.shop/lists", data, false,true);
export const gourmetDetail = data => postRequest("/api/gourmet.shop/detail", data, false,true);
// 停车场
export const parkadeList = data => postRequest("/api/platform.parkade/lists", data, false,true);
export const parkadeDetail = data => postRequest("/api/platform.parkade/detail", data, false,true);
// 公共厕所
export const toiletList = data => postRequest("/api/platform.toilet/lists", data, false,true);
export const toiletDetail = data => postRequest("/api/platform.toilet/detail", data, false,true);
// 联系我们
export const serviceList = data => postRequest("/api/platform.service_station/lists", data, false,true);
// 获取配置
export const config = data => postRequest("/api/wechat/config", data, false);
// 反馈
export const feedbackSubmit = data => postRequest("/api/platform.feedback/submit", data, true,true);
// 反馈列表
export const feedbackMyList = data => postRequest("/api/platform.feedback/myList", data, true,true);
export const feedbackMyDetail = data => getRequest("/api/platform.feedback/detail", data, true,true);
// 微信登录
export const wechatLogin = data => postRequest("/api/wechat/login", data, false,true);
export const userDetail = data => postRequest("/api/user/detail", data, true,true);
export const activityCalendar = data => postRequest("/api/activity/calendar", data, false);
export const activityLists = data => postRequest("/api/activity/lists", data, false);
export const activityDetail = data => postRequest("/api/activity/detail", data, false);
export const culturalCategory = data => postRequest("/api/platform.cultural_center.category/lists", data, false);
export const mallList = data => postRequest("/api/platform.mall/lists", data, false);
export const mallDetail = data => postRequest("/api/platform.mall/detail", data, false);
export const mallCategory = data => postRequest("/api/platform.mall.category/lists", data, false);
export const marketList = data => postRequest("/api/platform.market/lists", data, false);
export const marketDetail = data => postRequest("/api/platform.market/detail", data, false);
export const marketCategory = data => postRequest("/api/platform.market.category/lists", data, false);
export const amusementList = data => postRequest("/api/platform.amusement/lists", data, false);
export const amusementDetail = data => postRequest("/api/platform.amusement/detail", data, false);
export const amusementCategory = data => postRequest("/api/platform.amusement.category/lists", data, false);
// 奖品列表
export const prizeLists = data => postRequest("/api/platform.prize/lists", data, false);
export const signinList = data => postRequest("/api/platform.scenic/signinList", data, true,true);
export const lotterySetting = data => postRequest("/api/platform.lottery/setting", data, false);
// 我的信息
export const lotteryMyinfo = data => postRequest("/api/platform.lottery/myinfo", data, true,true);
// 抽奖
export const lotteryDraw = data => postRequest("/api/platform.lottery/draw", data, true,true);
// 打卡
export const signinSubmit = data => postRequest("/api/platform.signin/submit", data, true,true);
// 中奖记录
export const prizeRecord = data => postRequest("/api/platform.prize.record/myList", data, true,true);